package com.mobzilla.service;

import java.util.List;

import com.mobzilla.model.Bug;
import com.mobzilla.model.Priority;
import com.mobzilla.model.Severity;
import com.mobzilla.model.Status;

public interface SearchService {

	Bug fetchDefectDetails(int bugId);

	List<Bug> fetchAllDefectsWithDetails();

	List<Bug> fetchDefectsWithIds(int[] intArray);

	List<Bug> fetchDefectsForUser(String email);

	List<Bug> fetchDefectsForPriority(Priority priority);

	List<Bug> fetchDefectsForSeverity(Severity severity);

	List<Bug> fetchAllShowStoppers();

	List<Bug> fetchResolvedDefects();

	List<Bug> fetchOpenDefects();
}
